package com.cqut.dao;

import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

import com.cqut.model.ScoreDetails;

public interface ScoreDetailsMapper {
    int deleteByPrimaryKey(@Param("judgeScoreDetails") String judgeScoreDetails);

    int deleteByPrimaryKeys(@Param("primaryKeys") String[] primaryKeys);

    int insert(ScoreDetails record);

    int insertSelective(ScoreDetails record);

    ScoreDetails selectByPrimaryKey(@Param("judgeScoreDetails") String judgeScoreDetails);

    int updateByPrimaryKeySelective(ScoreDetails record);

    int updateByPrimaryKey(ScoreDetails record);

    List<ScoreDetails> loadModels(@Param("parameters") String parameters, @Param("condition") String condition, @Param("order") String order, @Param("sort") String sort, @Param("offset") int offset, @Param("limit") int limit);

    List<Map<String, Object>> loadMaps(@Param("parameters") String parameters, @Param("condition") String condition, @Param("order") String order, @Param("sort") String sort, @Param("offset") int offset, @Param("limit") int limit);

    long count(@Param("parameters") String parameters, @Param("condition") String condition, @Param("isDistinct") boolean isDistinct);

    ScoreDetails findModel(@Param("judgeScoreDetails") String judgeScoreDetails, @Param("parameters") String parameters);

    Map<String, Object> findMap(@Param("judgeScoreDetails") String judgeScoreDetails, @Param("parameters") String parameters);
}
